$('#newProjectSubmit').click(function () {
    console.log("啊♂？！")
    console.log($('#pj_state option:selected').val())

    taskMessage = {
        "pj_name": $('#pj_name').val(),
        "pj_manager": $('#pj_manager').val(),
        "pj_company": $('#pj_company').val(),
        "pj_client": $('#pj_client').val(),
        "pj_state": '正在进行',
        "pj_start": $('#pj_start').val(),
        "pj_fin": $('#pj_fin').val(),
        "pj_addr": $('#pj_addr').val(),
        "pj_description": $('#pj_description').val(),
        "pj_uid":user.user_id
    };
    console.log(taskMessage);
    $.ajax({
        url: '/business/new',
        type: 'post',
        data: taskMessage,
        success: function (data, status) {
            if (status == 'success') {
                console.log("还行!");
                // window.location.href = '/projectManage.html';
            }

        },
        error: function (data, status) {
            if (status == 'error') {
                alert("你的网络有问题！");
            }
        }
    });
});